package com.example.wudi.service.Impl;

import com.example.wudi.entity.Permissions;
import com.example.wudi.mapper.PermissionsMapper;
import com.example.wudi.service.PermissionsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PermissionsServiceImpl implements PermissionsService {
    @Autowired
    private PermissionsMapper permissionsMapper;
    @Override
    public List<Permissions> findAll() {
        final List<Permissions> list = permissionsMapper.selectList(null);
        return list;
    }
}
